package org.bambrikii.lang.translation.translationmodule.model;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class Phrase {
	private String source;
	private String translation;
	private String transcription;

	public String getSource() {
		return source;
	}

	public void setSource(final String source) {
		this.source = source;
	}

	public String getTranslation() {
		return translation;
	}

	public void setTranslation(final String translation) {
		this.translation = translation;
	}

	public String getTranscription() {
		return transcription;
	}

	public void setTranscription(final String transcription) {
		this.transcription = transcription;
	}

	@Override
	public String toString() {
		final ToStringBuilder b = new ToStringBuilder(this,
				ToStringStyle.MULTI_LINE_STYLE);
		b.append("source", getSource());
		b.append("translation", getTranslation());
		b.append("transcription", getTranscription());
		return b.toString();
	}
}
